from rest_framework.serializers import ModelSerializer
from .models import *

class Newsser(ModelSerializer):
    class Meta:
        model = News
        fields = "__all__"

class Adser(ModelSerializer):
    class Meta:
        model = Ad
        fields = "__all__"

class Userser(ModelSerializer):
    class Meta:
        model = User
        fields = "__all__"

class Addressser(ModelSerializer):
    class Meta:
        model = Address
        fields = "__all__"

class AreaSer(ModelSerializer):
    class Meta:
        model = Area
        fields = "__all__"